<template>
  <div class="hm-button" @click="alert('我是通用按钮')">通用按钮</div>
</template>

<script>
export default {
  name: 'HMButton'
}
</script>

<style>
.hm-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: greenyellow;
  color: white;
  border-radius: 5px;
}
</style>